package com.lz.rocketmq.producer.project.service.impl;


import com.lz.rocketmq.producer.project.service.CalcService;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Administrator
 * @DubboService
 * */
public class CalcServiceImpl implements CalcService {

    @Override
    public String calcOtcOption(String uname){

        SimpleDateFormat sdf =new SimpleDateFormat("HH:mm:ss");
        String time1 = sdf.format(new Date());

        return  time1+"香草 :: 期权NPV: , "+uname ;
    }

}